package com.happystudy.mapper;

import com.happpystudy.model.courseItem.CourseTopicItem;

import java.util.List;

public interface CourseTopicItemMapper {
    int deleteByPrimaryKey(Integer itemId);

    int insert(CourseTopicItem record);

    int insertSelective(CourseTopicItem record);

    CourseTopicItem selectByPrimaryKey(Integer itemId);

    int updateByPrimaryKeySelective(CourseTopicItem record);

    int updateByPrimaryKeyWithBLOBs(CourseTopicItem record);

    int updateByPrimaryKey(CourseTopicItem record);

    int queryNextPrimaryKey();

    List<CourseTopicItem> selectByTopicId(Integer topicId);

    int deleteByTopicId(Integer topicId);
}